<template>
    <h2>子组件</h2>
    <!-- <p>{{ foot }}</p>
    <p>{{ age }}</p> -->
</template>
<script setup>
//    const props = defaultProps(['foot','age'])
const props =defaultProps({
    foot:string,
    age:int
})
</script>